<template>
	<view class="center">
		<view class="upadte" @tap='$open("/pages/user/guize/guize")'>
			<text>隐私政策</text>
			<image src="../../../static/images/s54.png" mode="widthFix"></image>
		</view>
		<view class="upadte">
			<text>当前版本</text>
			<text>{{version}}</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				version:''
			}
		},
		onShow() {
			this.vresi()
		},
		methods: {
			vresi(){
				this.$ajax(
				this.apiList.versions,
				'POST',
				).then(res=>{
				this.version = res.version
				console.log(this.version )
				console.log(res.version)
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.center{
		width: 100vw;
		height: 100vh;
		overflow: hidden;
		box-sizing: border-box;
		background-color: #eee;
		padding: 30upx;
		.upadte{
					width: 100%;
					background: #fff;
					border-radius: 10upx;
					margin-top: 20upx;
					padding: 20upx;
					display: flex;
					justify-content: space-between;
					align-items: center;
					box-sizing: border-box;
					text{
						font-size:28upx;
						font-family:PingFang SC;
						font-weight:400;
						color: rgba(33, 33, 33, 1);
					}
					image{
						width: 13upx;
					}
				}
	}

</style>
